Crate pancurses [−] [src]
Structs
MEVENT | |
Window |
Enums
Input |
Constants
Traits
ToChtype |
Functions
COLOR_PAIR | |
cbreak |
Set cbreak mode. |
curs_set |
Alters the appearance of the cursor. |
delwin |
Deletes the window, freeing all associated memory. In the case of overlapping windows, subwindows should be deleted before the main window. |
endwin |
Should be called before exiting or escaping from curses mode temporarily. |
flushinp |
Throws away any type-ahead that has been typed by the user and has not yet been read by the program. |
getmouse | |
half_delay |
Similar to cbreak(), but allows for a time limit to be specified, in tenths of a second. |
has_colors |
Indicates if the terminal supports, and can maniplulate color. |
init_pair |
Changes the definition of a color-pair. |
initscr |
Initialize the curses system, this must be the first function that is called. |
mousemask |
Nearly equivalent to mouse_set(), but instead of OK/ERR, it returns the value of the mask after setting it. |
napms |
Suspends the program for the specified number of milliseconds. |
newwin |
Creates a new window with the given number of lines, nlines and columns, ncols. |
nl |
Enables the translation of a carriage return into a newline on input. |
nocbreak |
Set nocbreak mode. |
noecho |
Disables echoing typed characters. |
resize_term |
Attempts to resize the screen to the given size. |
set_blink |
Toggles whether the A_BLINK attribute sets an actual blink mode (TRUE), or sets the background color to hig intensity (FALSE). |
set_title |
Sets the title of the window in which the curses program is running. This function may not do anything on some platforms. (Only supported on Windows) |
start_color |
Initializes eight basic colors (black, red, green, yellow, blue, magenta, cyan, and white), and two global variables; COLORS and COLOR_PAIRS (respectively defining the maximum number of colors and color-pairs the terminal is capable of displaying). |
use_default_colors |
Allows the use of -1 as a foreground or background color with init_pair(). |
Type Definitions
chtype | |
mmask_t |